<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">

                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('onlineclassroom/onlineclassroom/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('onlineclassroom/onlineclassroom/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('onlineclassroom/onlineclassroom/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('onlineclassroom/onlineclassroom/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>

                        <div class="dropdown btn-group {:$auth->check('onlineclassroom/onlineclassroom/export')?'':'hide'}">
                            <a class="btn btn-info btn-export" url="ajax/export" id="btn-export-file" data-toggle="dropdown" href="#"><i class="fa fa-download"></i> {:__('Export')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-info btn-export" data-type="all" href="#">{:__('Export all')}</a></li>
                                <li><a class="btn btn-info btn-export" data-type="selected" href="#">{:__('Export selected')}</a></li>
                            </ul>
                        </div>

                        <a href="javascript:;" class="btn btn-warning btn-recyclebin btn-dialog {:$auth->check('onlineclassroom/onlineclassroom/recyclebin')?'':'hide'}" url="onlineclassroom/onlineclassroom/recyclebin" title="{:__('Recycle bin')}" ><i class="fa fa-recycle"></i> {:__('Recycle bin')}</a>
                        <div class="row cityschool">
                            <div class="col-md-3">
                                <select id="c-cityarea_id" name="city_id" class="form-control select"
                                        data-live-search="true" title="选择城市">
                                    <option value="">全部城市</option>
                                </select>
                            </div>
                            <div class="col-md-3">
                                <select id="c-school_id" name="school_id" class="form-control select"
                                        data-live-search="true" title="选择学校">
                                    <option value="">全部学校</option>
                                </select>
                            </div>
                            <div class="col-md-2">
                                <button type="button" class="btn btn-info btn-filter" id="btn-filter">
                                    <i class="fa fa-search"></i> 筛选
                                </button>
                            </div>
                        </div>


                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('onlineclassroom/onlineclassroom/edit')}"
                           data-operate-del="{:$auth->check('onlineclassroom/onlineclassroom/del')}"
                           width="100%">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>